package org.bigdata.framework.core.model;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2018-12-13
 */
@TableName("data_handling")
public class DataHandling implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 唯一标识符
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 名称
	 */
	private String name;

	/**
	 * 描述
	 */
	private String description;

	/**
	 * 数据源id
	 */
	@TableField(value="data_source_id")
	private Integer dataSourceId;

	/**
	 * 知识库id
	 */
	@TableField(value="classes_id")
	private Integer classesId;

	/**
	 * 状态
	 */
	private Integer status;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private String createTime;

	/**
	 * 创建人id
	 */
	@TableField(value="create_user_id")
	private Integer createUserId;

	/**
	 * 文件路径
	 */
	@TableField(value="file_path")
	private String filePath;

	/**
	 * 表名称
	 */
	@TableField(value="table_name")
	private String tableName;

	/**
	 * xpath路径
	 */
	@TableField(value="xpath_Path")
	private String xpathPath;

	/**
	 * 字段分割符
	 */
	@TableField(value="field_split")
	private String fieldSplit;

	/**
	 * txt文件类型（0:一行、1:多行）
	 */
	@TableField(value="txt_type")
	private String txtType;

	/**
	 * Excel的sheet名称
	 */
	@TableField(value="sheet_name")
	private String sheetName;

	/**
	 * 字段对应
	 */
	@TableField(value="corresponding_field")
	private String correspondingField;

	/**
	 * 字段与字段之间的分隔符
	 */
	@TableField(value="field_field_split")
	private String fieldFieldSplit;

	/**
	 * 提交时间
	 */
	@TableField(value="submit_time")
	private String submitTime;

	/**
	 * 所属系统名称
	 */
	@TableField(value="system_name")
	private String systemName;

	/**
	 * 0:导入，1：导出
	 */
	private Integer type;

	/**
	 * 下载路径
	 */
	@TableField(value="download_path")
	private String downloadPath;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getDataSourceId() {
		return dataSourceId;
	}

	public void setDataSourceId(Integer dataSourceId) {
		this.dataSourceId = dataSourceId;
	}

	public Integer getClassesId() {
		return classesId;
	}

	public void setClassesId(Integer classesId) {
		this.classesId = classesId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Integer getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Integer createUserId) {
		this.createUserId = createUserId;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getXpathPath() {
		return xpathPath;
	}

	public void setXpathPath(String xpathPath) {
		this.xpathPath = xpathPath;
	}

	public String getFieldSplit() {
		return fieldSplit;
	}

	public void setFieldSplit(String fieldSplit) {
		this.fieldSplit = fieldSplit;
	}

	public String getTxtType() {
		return txtType;
	}

	public void setTxtType(String txtType) {
		this.txtType = txtType;
	}

	public String getSheetName() {
		return sheetName;
	}

	public void setSheetName(String sheetName) {
		this.sheetName = sheetName;
	}

	public String getCorrespondingField() {
		return correspondingField;
	}

	public void setCorrespondingField(String correspondingField) {
		this.correspondingField = correspondingField;
	}

	public String getFieldFieldSplit() {
		return fieldFieldSplit;
	}

	public void setFieldFieldSplit(String fieldFieldSplit) {
		this.fieldFieldSplit = fieldFieldSplit;
	}

	public String getSubmitTime() {
		return submitTime;
	}

	public void setSubmitTime(String submitTime) {
		this.submitTime = submitTime;
	}

	public String getSystemName() {
		return systemName;
	}

	public void setSystemName(String systemName) {
		this.systemName = systemName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getDownloadPath() {
		return downloadPath;
	}

	public void setDownloadPath(String downloadPath) {
		this.downloadPath = downloadPath;
	}

}
